package org.jeecg.modules.demo.dz.vo;

import java.math.BigDecimal;
import java.util.List;
import org.jeecg.modules.demo.dz.entity.DzMaterialCart;
import org.jeecg.modules.demo.dz.entity.DzMaterialSkuCart;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 购物清单
 * @Author: jeecg-boot
 * @Date:   2024-11-26
 * @Version: V1.0
 */
@Data
@ApiModel(value="dz_material_cartPage对象", description="购物清单")
public class DzMaterialCartPage {

	/**id*/
	@ApiModelProperty(value = "id")
    private String id;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
	@ApiModelProperty(value = "订单号")
    private String no;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
	@ApiModelProperty(value = "手机号")
    private String phone;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15, dicCode = "dz_order_status")
    @Dict(dicCode = "dz_order_status")
	@ApiModelProperty(value = "订单状态")
    private String status;
	/**createId*/
	@Excel(name = "createId", width = 15)
	@ApiModelProperty(value = "createId")
    private String createId;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**提交时间*/
	@Excel(name = "提交时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "提交时间")
    private Date submitTime;
	/**updateId*/
	@Excel(name = "updateId", width = 15)
	@ApiModelProperty(value = "updateId")
    private String updateId;
	/**updateBy*/
	@ApiModelProperty(value = "updateBy")
    private String updateBy;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "updateTime")
    private Date updateTime;

	private BigDecimal totalPrice;

	@ExcelCollection(name="购物清单明细")
	@ApiModelProperty(value = "购物清单明细")
	private List<DzMaterialSkuCart> dzMaterialSkuCartList;

}
